package dk.dashboardFP.panels.introspectionPanel {
	import flash.events.Event;

	/**
	 * @author josef
	 */
	public class IntrospectionNodeViewEvent extends Event {
		public static const HEIGHT_CHANGED : String = "HEIGHT_CHANGED";
		public static const DISPLAY_OBJECT_MARK : String = "displayObjectMark";
		public static const DISPLAY_OBJECT_MARK_REMOVE : String = "DISPLAY_OBJECT_MARK_REMOVE";
		public static const DISPLAY_OBJECT_SELECT : String = "displayObjectSelect";
		private var _data : *;

		public function IntrospectionNodeViewEvent(type : String, data:*, bubbles : Boolean = false, cancelable : Boolean = false) {
			_data = data;
			super(type, bubbles, cancelable);
		}

		override public function clone() : Event {
			return new IntrospectionNodeViewEvent(type, bubbles);
		}
		
		public function get data() : * {
			return _data;
		}
	}
}
